package com.xbai.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author xbai
 * @Date 2021/5/22
 */
@Component
public class PaymentFallbackService  implements PaymentHystrixService{
    @Override
    public String paymentInfoOK(Integer id) {
        return "PaymentFallbackService fall back paymentInfoOK";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "PaymentFallbackService fall back paymentInfoTimeOut";
    }
}
